package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "affiliate_transaction")
public class AffiliateTransaction {
    @Id
    @Column(name = "affiliate_transaction_id")
    private Integer affiliateTransactionId;

    @Column(name = "affiliate_id")
    private Integer affiliateId;

    @Column(name = "order_id")
    private Integer orderId;

    private BigDecimal amount;

    @Column(name = "date_added")
    private Date dateAdded;

    private String description;
}